<template>
	<view class="page-wraper-askmsg">
		<rich-text :nodes="nodes"></rich-text>
		<view style="height: 162rpx;width: 100%;"></view>
		<view class="footer-btn-view">
			<view class="zhannei-msg-view">站内消息</view>
			<view class="phone-msg-view">电话消息</view>
		</view>
	</view>
</template>

<script>
	import {
		logisticsCompanyDetails
	} from "@/api/logistics.js"
	export default {
		data() {
			return {
				objectData:{},
				nodes:''
			}
		},
		onLoad(option) {
			var that = this
			if(option.id){
				logisticsCompanyDetails(option.id).then(res=>{
					that.objectData = res.data
					that.nodes=that.objectData.content
					that.$forceUpdate()
				})
			}
		},
		methods: {

		}
	}
</script>

<style>
	.page-wraper-askmsg {
		
	}
	page{
		background: #F5F5F5;
	}
	.footer-btn-view {
		width: 750rpx;
		height: 162rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 0rpx 12rpx rgba(0,0,0,0.1);
		opacity: 1;
		border-radius: 0rpx;
		
		position: fixed;
		bottom: 0;
		z-index: 1;
		display: flex;
		flex-direction: row;
	}
	
	.zhannei-msg-view{
		flex: 1;
		margin: auto;
		width: 330rpx;
		height: 94rpx;
		background: #EDF1FF;
		opacity: 1;
		border-radius: 14rpx;
		text-align: center;
		font-size: 32rpx;
		font-family: Source Han Sans CN;
		font-weight: 500;
		line-height: 94rpx;
		color: #0E59EA;
		opacity: 1;
		margin-left: 32rpx;
		margin-right: 16rpx;
	}
	
	.phone-msg-view{
		flex: 1;
		margin: auto;
		width: 330rpx;
		height: 94rpx;
		background: #0E59EA;
		opacity: 1;
		text-align: center;
		border-radius: 14rpx;
		font-size: 32rpx;
		font-family: Source Han Sans CN;
		font-weight: 500;
		line-height: 94rpx;
		color: #FFFFFF;
		opacity: 1;
		margin-left: 16rpx;
		margin-right: 32rpx;
	}
</style>